import React from 'react';
// import UserCenterRouters from './routes/UserCenter';
// import ItemRouters from './routes/b2c/Item'; //商品
// import GridMemberRoutes from './routes/b2c/GridMember'; //网格员
// import MemberRouters from './routes/b2c/Member'; //会员
// import MarketingRouters from './routes/b2c/Marketing'; //营销
// import OperateRouters from './routes/b2c/Operate'; //运营
// import OrderRouters from './routes/b2c/Order'; //订单
// import setting from './routes/b2c/Setting'; //设置
// import PermissionRouters from './routes/b2c/Permission'; // b2c 权限中部门和成员管理
// import InventoryRouters from './routes/b2c/Inventory'; // b2c 库存调整
// import inventoryCenter from './routes/middleGround/inventoryCenter'; //库存中心
// import purcRoutes from './routes/middleGround/purcRoutes'; // 采购中心
// import logisticsCenter from './routes/middleGround/logisticsCenter'; //物流中心
// import ItemCenterRouters from './routes/support/ItemCenter'; //商品中心
// import OrgCenterRouters from './routes/support/OrgCenter'; //组织中心
// import PriceCenterRouters from './routes/support/PriceCenter'; //价格中心
// import ContentRouters from './routes/b2c/Content'; //内容
import SysRouters from './routes/sys'; // 系统路由
import WorkFlowRouters from './routes/workflow'; // 工作流路由
import MessageRouters from './routes/message'; // 消息中心
import OrderRouters from './routes/order'; // 订单中心


// // 财务结算
// import purcSettlementRoutes from './routes/financeSettlement/purcRoute'; //采购结算管理
// import ruleRoutes from './routes/financeSettlement/ruleRoute'; //结算规则管理
// import saleSettlementRoutes from './routes/financeSettlement/saleRoute'; //销售结算管理
// import financeRoutes from './routes/financeSettlement/financeRoute'; //财务工作台
// import accountRoutes from './routes/financeSettlement/accountRoute'; //公司账户管理
// import withdrawRoutes from './routes/financeSettlement/withdrawRoute'; //提现管理
// import invoiceRoutes from './routes/financeSettlement/invoiceRoute'; //发票管理
// import costRoutes from './routes/financeSettlement/costRoute'; //成本核算
// import reportRoutes from './routes/financeSettlement/reportRoute'; //报表管理

// import settlementRouters from './routes/financeSettlement'; //结算中心

//b2b
// import hearquarterToSOMRoutes from './routes/b2b/HearquarterToSOM';
const routes = [
  {
    path: '/dashboard',
    name: 'dashboard',
    meta: { title: '首页', hidden: true, noAuth: true },
    component: React.lazy(() => import('@/page/Dashboard'))
  },
  {
    path: '/403',
    name: 'err403',
    meta: { title: '403', hidden: true },
    component: React.lazy(() => import('@/page/errPage/Err403'))
  },
  // ...UserCenterRouters,
  // ...ItemRouters,
  // // ...GridMemberRoutes,
  // ...MemberRouters,
  // ...MarketingRouters,
  // // ...OperateRouters,
  ...OrderRouters,
  // // ...InventoryRouters,
  // ...ContentRouters, //内容
  // // ...setting,
  // // ...PermissionRouters,
  // ...inventoryCenter,
  // ...purcRoutes,
  // ...logisticsCenter,
  // ...ItemCenterRouters,
  // ...OrgCenterRouters,
  // ...PriceCenterRouters,
  ...SysRouters,
  ...WorkFlowRouters,
  ...MessageRouters
  // ...ruleRoutes,
  // ...purcSettlementRoutes,
  // ...saleSettlementRoutes,
  // ...financeRoutes,
  // ...accountRoutes,
  // ...withdrawRoutes,
  // ...invoiceRoutes,
  // ...costRoutes,
  // ...reportRoutes
  // ...settlementRouters,
  // ...hearquarterToSOMRoutes
];
export default routes;
